<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/pages/common/meta.jsp"%>
<div class="ys-module-wrap chinamap-wrap" style="margin-right: 0;width: 39%;">
    <div class="ys-module-con">
        <div id="dealSituationChart" style="width:100%; height: 350px; text-align: center;"></div>

    </div>

    <script type="text/javascript">
        //处理情况统计报表
        function initdealSituationChart(){
            var dealSituationChart = echarts.init(document.getElementById('dealSituationChart'));
            var dealSituationOption = {
                tooltip : {
                    trigger: 'axis',
                    axisPointer : {
                        type : 'shadow'
                    }
                },
                legend: {
                    data: ['未受理', '已关闭','已办结','受理中']
                },
                grid: {
                    left: '3%',
                    right: '4%',
                    bottom: '3%',
                    containLabel: true
                },
                xAxis:  {
                    type: 'value'
                },
                yAxis: {
                    type: 'category',
                    data: ['江西公司','福建公司','山东公司','江苏公司','安徽公司','华北大区','华南大区','东北大区','中华大区']
                },
                series: [
                    {
                        name: '未受理',
                        type: 'bar',
                        stack: '总量',
                        label: {
                            normal: {
                                show: true,
                                position: 'insideRight'
                            }
                        },
                        data: [320, 302, 301, 334,110,390,350,230,120]
                    },
                    {
                        name: '已关闭',
                        type: 'bar',
                        stack: '总量',
                        label: {
                            normal: {
                                show: true,
                                position: 'insideRight'
                            }
                        },
                        data: [120, 132, 101, 134,762,321,345,578,234]
                    },
                    {
                        name: '已办结',
                        type: 'bar',
                        stack: '总量',
                        label: {
                            normal: {
                                show: true,
                                position: 'insideRight'
                            }
                        },
                        data: [220, 182, 191, 234,321,123,111,120,231]
                    },
                    {
                        name: '受理中',
                        type: 'bar',
                        stack: '总量',
                        label: {
                            normal: {
                                show: true,
                                position: 'insideRight'
                            }
                        },
                        data: [150, 212, 201, 154,43,22,123,432,123]
                    }
                ]
            };
            dealSituationChart.setOption(dealSituationOption);
        }
        initdealSituationChart();
    </script>
</div>